# 循环0-100的数字
# num = 0
# while num <= 10:
#     print(num, end="\t")
#     num += 1

# 1-100得数字之和
# num1 = 1
# sum1 = 0
# while num1 <= 100:
#     sum1 = num1 + sum1
#     num1 += 1
# print(sum1)

# todo 打印1-100的数字
# i = 1
# while i < 101:
#     print(i,end="\t")
#     i += 1

# todo 打印1-100的奇数和
i = 1
sun = 0
while i < 101:
    if i % 2 == 1:
        sun = sun + i
    i += 1
print(sun)
